<?php
class TeamController extends Controller{
	public function index(){
		$id = $_GET['id'];
		$model = Factory::M('Team');
		$team = $model->team($id);
		$player = $model->player($id);
		$count = $model->pcount($id);
		$this->assign('team',$team);
		$this->assign('player',$player);
		$this->assign('count',$count);
		$this->display();
	}
}
?>